using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ChiPhiDaoTaoEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: ChiPhiDaoTaoEntity</para>
	/// <para>Description: ClassChiPhiDaoTaoEntity store data of table ChiPhiDaoTao</para>
	///</summary>

	[DataContract]
	public partial class ChiPhiDaoTaoEntity{


		private bool _InternalChangedIsNullChiPhiDaoTao_ID=true;
		private bool _IsNullChiPhiDaoTao_ID=true;
		private bool _InternalChangedIsNullChuongTrinhDaoTao_ID=true;
		private bool _IsNullChuongTrinhDaoTao_ID=true;
		private bool _InternalChangedIsNullNamThu=true;
		private bool _IsNullNamThu=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullKhoanTien_ID=true;
		private bool _IsNullKhoanTien_ID=true;
		private bool _InternalChangedIsNullSoTien=true;
		private bool _IsNullSoTien=true;
		private int _ChiPhiDaoTao_ID;
		private int _ChuongTrinhDaoTao_ID;
		private int _NamThu;
		private int _HocKy_ID;
		private int _KhoanTien_ID;
		private Decimal _SoTien;
		[DataMember]
		public bool IsNullChiPhiDaoTao_ID{
			get{return _IsNullChiPhiDaoTao_ID;}
			set{if(!_InternalChangedIsNullChiPhiDaoTao_ID)_IsNullChiPhiDaoTao_ID=value;}
		}
		[DataMember]
		public bool IsNullChuongTrinhDaoTao_ID{
			get{return _IsNullChuongTrinhDaoTao_ID;}
			set{if(!_InternalChangedIsNullChuongTrinhDaoTao_ID)_IsNullChuongTrinhDaoTao_ID=value;}
		}
		[DataMember]
		public bool IsNullNamThu{
			get{return _IsNullNamThu;}
			set{if(!_InternalChangedIsNullNamThu)_IsNullNamThu=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullKhoanTien_ID{
			get{return _IsNullKhoanTien_ID;}
			set{if(!_InternalChangedIsNullKhoanTien_ID)_IsNullKhoanTien_ID=value;}
		}
		[DataMember]
		public bool IsNullSoTien{
			get{return _IsNullSoTien;}
			set{if(!_InternalChangedIsNullSoTien)_IsNullSoTien=value;}
		}
		[DataMember]
		public int ChiPhiDaoTao_ID{
			get{return _ChiPhiDaoTao_ID;}
			set{
				_ChiPhiDaoTao_ID=value;
				if(_ChiPhiDaoTao_ID!=null){
					_IsNullChiPhiDaoTao_ID=false;
					_InternalChangedIsNullChiPhiDaoTao_ID=true;
				}
			}
		}
		[DataMember]
		public int ChuongTrinhDaoTao_ID{
			get{return _ChuongTrinhDaoTao_ID;}
			set{
				_ChuongTrinhDaoTao_ID=value;
				if(_ChuongTrinhDaoTao_ID!=null){
					_IsNullChuongTrinhDaoTao_ID=false;
					_InternalChangedIsNullChuongTrinhDaoTao_ID=true;
				}
			}
		}
		[DataMember]
		public int NamThu{
			get{return _NamThu;}
			set{
				_NamThu=value;
				if(_NamThu!=null){
					_IsNullNamThu=false;
					_InternalChangedIsNullNamThu=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int KhoanTien_ID{
			get{return _KhoanTien_ID;}
			set{
				_KhoanTien_ID=value;
				if(_KhoanTien_ID!=null){
					_IsNullKhoanTien_ID=false;
					_InternalChangedIsNullKhoanTien_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal SoTien{
			get{return _SoTien;}
			set{
				_SoTien=value;
				if(_SoTien!=null){
					_IsNullSoTien=false;
					_InternalChangedIsNullSoTien=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ChiPhiDaoTaoEntityBase*****************************************/
	/*****************************************************************************************************/
}

